<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例4</title>
    <style>
    </style>
    <script src="jquery.js"></script>
    <script>
        function show(){
            console.log($('#title'))
            // $('#title').text("bbc");
            // $('.red').text("abc")
            // $('h2').text('okok')
            $('h1,h4').text("mmmm")
        }
    </script>
</head>
<body>
    <button onclick="show()">修改</button>
    <hr/>
    <div>
        <h1 id="title">原始内容</h1>
        <h2 class="red">原始内容</h2>
        <h3 class="red">原始内容</h3>
        <h4>原始内容</h4>
    </div>
</body>
</html>